package com.nbgroup.dao;

import com.nbgroup.entity.Menu;
import com.nbgroup.entity.MenuRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by 18545 on 2019/7/15.
 */
public interface MenuRoleRepositoty extends JpaRepository<MenuRole,Long>, JpaSpecificationExecutor<MenuRole> {
    MenuRole findByRoleId(Long roleId);
}
